import java.util.Scanner;

public class p5703 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        // 读取每人分到的苹果数
        int perPerson = scanner.nextInt();
        // 读取同学人数
        int studentNum = scanner.nextInt();
        // 计算并输出总共需要采购的苹果数
        System.out.println(perPerson * studentNum);
        scanner.close();
    }
}
